<?php
namespace BoxEng\Controller\Wap;
class CommonController extends \HomeController
{
    public function _initialize()
    {
        parent::_initialize();
        $this->user_info = Logic("BoxSns", "Member")->set_login();
        //dump($_COOKIE['UserCookieData']);
        //if(!$this->user_info['user_id']){
//		Logic("BoxSns","Member")->toLogin();
//	}	
        $this->title = "跟着电影，学地道的英语";
    }


    /*****展示页面***/
    function display($page)
    {
        $this->page_content = $this->fetch($page);
        if (IS_AJAX || I('appName') == "BoxEng") {
            echo $this->page_content;
        } else {
            parent::display("Index/home");
        }
    }


}

 